package com.cpz.rabbitmq.message;

import com.cpz.rabbitmq.config.RabbitConstants;

/**
 * @author cpz
 * @since 2022/09/19
 */
public class DirectMessage extends RabbitMessage<String> {

    @Override
    public String exchange() {
        // 使用默认交换机
        return "";
    }

    @Override
    public String routingKey() {
        return RabbitConstants.QUEUE_DIRECT;
    }
}
